package com.atguigu.gmall.cart.service;

import com.atguigu.gmall.model.cart.CartInfo;

import java.util.List;

public interface CartInfoService {

    CartInfo addCart(Long skuId, Integer skuNum);

    CartInfo toCart(Long skuId);

    List<CartInfo> cartList(String userId, String userTempId);

    void checkCart(Long skuId, Integer isChecked);

    List<CartInfo> getCartListChecked(String userId);
}
